Skip to main content

InitiateMultipartUpload

Description

before transferring data in Multipart Upload mode, you must call the InitiateMultipartUpload interface to notify OSS to initialize a Multipart Upload event.

Request Method

POST

Request Path

/apsara/route/OneRouter/InitiateMultipartUpload

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
encoding-typeBODYstringNourlspecifies to encode the returned key. URL encoding is currently supported. Key uses UTF-8 characters, but the XML 1.0 standard does not support parsing some control characters, such as characters with ASCII values ranging from 0 to 10. If the Key contains control characters that are not supported by the XML 1.0 standard, you can encode the returned Key by specifying the encoding-type. default value: none optional value: url
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}